#pragma once

#include "wp2_5.h"
#include <vector>
#include <map>
#include <string>
using namespace std;

class COrderReqInfo
{
public:
	COrderReqInfo();
	~COrderReqInfo();

	CString Account;
	CString  Symbol;
	IPositionType PositionType;
	long Qty;
	IPriceType PriceType;
	double Price;
	IOrderReqStateType OrderReqState;
	long SrvAcpNo;
	CString RjtReason;
	BOOL IsDone;
	BOOL IsDoing;
	CString LastMessage;
};

typedef vector<COrderReqInfo*> OrderReqVector;
typedef map<long, COrderReqInfo*> mapOrderReq;
typedef pair<long, COrderReqInfo*> pairOrderReq;
typedef map< long, COrderReqInfo* >::iterator OrderReqPos;
